package com.yang.studentsapp.utils;


import com.yang.studentsapp.ui.MyAppliction;

/**
 * Created by ${Ян-Вэнь-Чао} on 2016/10/8.
 * 获取res下相关资源
 */
public class ResUtils {
    private ResUtils() {

    }

    public static String getString(int textId) {
        return MyAppliction.getContext().getString(textId);
    }

    public static int getColor(int colorId) {
        return MyAppliction.getContext().getResources().getColor(colorId);
    }
}
